<h1>Build <%= @build_run.id %> for batch <%= @build_run.batch.id %> (
  <span class='batch_name' style='background-color:<%= @build_run.batch.colour %>;'><%= @build_run.batch.name %></span>
)</h1>

<table>
  <tr>
    <th>Build type</th>
    <th>Architecture</th>
    <th>Machine</th>
    <th>Status</th>
  </tr>
  <tr>
    <td><%= @build_run.build_type.name %></td>
    <td><%= @build_run.build_type.architecture.name %></td>
    <td><%= if @build_run.machine then @build_run.machine.name else "Unknown" end %></td>
    <td><%= @build_run.status %></td>
  </tr>
</table>

<div style="float:right;">
  <a href="#configure_cmd">configure.cmd</a> | 
  <a href="#configure_out">configure.out</a> |
  <a href="#configure_err">configure.err</a> |
  <a href="#make_cmd">make.cmd</a> | 
  <a href="#make_out">make.out</a> |
  <a href="#make_err">make.err</a>
</div>

<a name="configure_cmd" />
<h3>configure.cmd</h3>
<pre class="config_cmd">
<%= @config_cmd %><!-- Comment here to clean up any shizzle tags given in @config_cmd. --></pre>

<a name="configure_out" />
<h3>configure.out</h3>
<pre class="config_out">
<%= @config_out %><!-- Comment here to clean up any shizzle tags given in @make_cmd. --></pre>

<a name="configure_err" />
<h3>configure.err</h3>
<pre class="config_err">
<%= @config_err %><!-- Comment here to clean up any shizzle tags given in @make_cmd. --></pre>

<a name="make_cmd" />
<h3>make.cmd</h3>
<pre class="make_cmd">
<%= @make_cmd %><!-- Comment here to clean up any shizzle tags given in @make_cmd. --></pre>

<a name="make_out" />
<h3>make.out</h3>
<pre class="make_out">
<%= @make_out %><!-- Comment here to clean up any shizzle tags given in @make_cmd. --></pre>

<a name="make_err" />
<h3>make.err</h3>
<pre class="make_err">
<%= @make_err %><!-- Comment here to clean up any shizzle tags given in @make_cmd. --></pre>